package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.SurveyReportEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 勘测报告Mapper接口
 *
 * @author wutao
 * @date 2024-05-22
 */
@Mapper
public interface SurveyReportMapper extends BaseMapper<SurveyReportEntity> {
    /**
     * 查询勘测报告
     *
     * @param id 勘测报告ID
     * @return 勘测报告
     */
    SurveyReportEntity selectErpSurveyReportInfoById ( String id );

    /**
     * 查询勘测报告列表
     *
     * @param erpSurveyReportInfo 勘测报告
     * @return 勘测报告集合
     */
    List<SurveyReportEntity> selectErpSurveyReportInfoList ( SurveyReportEntity erpSurveyReportInfo );

    /**
     * 新增勘测报告
     *
     * @param erpSurveyReportInfo 勘测报告
     * @return 结果
     */
    int insertErpSurveyReportInfo ( SurveyReportEntity erpSurveyReportInfo );

    /**
     * 修改勘测报告
     *
     * @param erpSurveyReportInfo 勘测报告
     * @return 结果
     */
    int updateErpSurveyReportInfo ( SurveyReportEntity erpSurveyReportInfo );

    /**
     * 删除勘测报告
     *
     * @param id 勘测报告ID
     * @return 结果
     */
    int deleteErpSurveyReportInfoById ( String id );

    /**
     * 批量删除勘测报告
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteErpSurveyReportInfoByIds ( String[] ids );
}
